﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage_EmpDetail.master" AutoEventWireup="true" CodeFile="EmpIssue.aspx.cs" Inherits="Employees_EmpIssue" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Titile" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" Runat="Server">
    <InfoLight:WebDataSource ID="Master" runat="server" AutoApply="True" 
            WebDataSetID="WMaster" DataMember="View_IssueList">
        </InfoLight:WebDataSource>
         <div class="tabs" runat="server" id="TabsFunction">
            <ul>
                <li>
                    <asp:LinkButton ID="AddFunction" runat="server" Text="<span>培　训　添　加　</span>" CssClass="ChileUnHover"></asp:LinkButton>
                </li>
            </ul>
    </div>
<InfoLight:webgridview id="wgvMaster" runat="server"
            cellpadding="5" datasourceid="Master" forecolor="#333333" 
    width="100%" AbortIconUrl="../Image/UIPics/Abort.gif" 
    AddIconUrl="../Image/UIPics/Add.gif" ApplyIconUrl="../Image/UIPics/Apply.gif" 
    CancelIconUrl="../Image/UIPics/Cancel.gif" 
    MouseOverAbortIconUrl="../Image/UIPics/Abort2.gif" 
    MouseOverAddIconUrl="../Image/UIPics/Add2.gif" 
    MouseOverApplyIconUrl="../Image/UIPics/Apply2.gif" 
    MouseOverCancelIconUrl="../Image/UIPics/Cancel2.gif" 
    MouseOverOKIconUrl="../Image/UIPics/OK2.gif" 
    MouseOverQueryIconUrl="../Image/UIPics/Query2.gif" 
    OKIconUrl="../Image/UIPics/OK.gif" QueryIconUrl="../Image/UIPics/Query.gif" 
    HeaderStyleWrap="False" BackColor="White" BorderColor="White" 
    BorderStyle="Groove" BorderWidth="2px" PageSize="15" 
        ondatabound="wgvMaster_DataBound">
            <PagerSettings Mode="NumericFirstLast" />
<FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True"></FooterStyle>
            <navcontrols>
<InfoLight:ControlItem ControlVisible="False" Size="25" 
                    MouseOverImageUrl="../image/uipics/add2.gif" ControlText="add" 
                    ControlName="Add" ControlType="Image" ImageUrl="../image/uipics/add.gif"></InfoLight:ControlItem>
<InfoLight:ControlItem ControlVisible="False" Size="25" 
                    MouseOverImageUrl="../image/uipics/ok2.gif" ControlText="Insert" 
                    ControlName="OK" ControlType="Image" ImageUrl="../image/uipics/ok.gif"></InfoLight:ControlItem>
<InfoLight:ControlItem ControlVisible="False" Size="25" 
                    MouseOverImageUrl="../image/uipics/cancel2.gif" ControlText="cancel" 
                    ControlName="Cancel" ControlType="Image" ImageUrl="../image/uipics/cancel.gif"></InfoLight:ControlItem>
</navcontrols>
            <Columns>
                <asp:BoundField DataField="PId" HeaderText="编号" SortExpression="PId" />
                <asp:BoundField DataField="EmpName" HeaderText="员工姓名" 
                    SortExpression="EmpName" />
                <asp:BoundField DataField="IssueName" HeaderText="培训内容" 
                    SortExpression="IssueName" />
                <asp:BoundField DataField="LessonId" HeaderText="课程编号" 
                    SortExpression="LessonId" />
                <asp:TemplateField HeaderText="培训时间" SortExpression="TrainDate">
                    <EditItemTemplate>
                        <InfoLight:WebDateTimePicker ID="wdtView_IssueListTrainDateE" runat="server" 
                            DateFormat="None" DateTimeType="DateTime" Localize="False" MaxYear="2050" 
                            MinYear="1950" Text='<%# Bind("TrainDate") %>' ToolTip="TrainDate" 
                            UseButtonImage="True" Width="100px"></InfoLight:WebDateTimePicker>
                    </EditItemTemplate>
                    <FooterTemplate>
                        <InfoLight:WebDateTimePicker ID="wdtView_IssueListTrainDateF" runat="server" 
                            DateFormat="None" DateTimeType="DateTime" Localize="False" MaxYear="2050" 
                            MinYear="1950" ToolTip="TrainDate" UseButtonImage="True" Width="100px"></InfoLight:WebDateTimePicker>
                    </FooterTemplate>
                    <ItemTemplate>
                        <asp:Label ID="lView_IssueListTrainDate" runat="server" 
                            Text='<%# Bind("TrainDate", "{0:d}") %>' ToolTip="TrainDate"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="TrainTech" HeaderText="培训人" 
                    SortExpression="TrainTech" />
                <asp:BoundField DataField="AttendName" HeaderText="出席状态" 
                    SortExpression="AttendName" />
</Columns>

<RowStyle BackColor="#EFF3FB" HorizontalAlign="Center"></RowStyle>

<EditRowStyle BackColor="#2461BF"></EditRowStyle>

<SelectedRowStyle BackColor="#D1DDF1" ForeColor="#333333" Font-Bold="True"></SelectedRowStyle>

<PagerStyle BackColor="LightBlue" ForeColor="White" HorizontalAlign="Center"></PagerStyle>

<HeaderStyle BackColor="DeepSkyBlue" ForeColor="White" Font-Bold="True"></HeaderStyle>

<AlternatingRowStyle BackColor="White" BorderColor="White"></AlternatingRowStyle>
</InfoLight:webgridview>
</asp:Content>

